package com.winderinfo.yikaotianxia.ui.studycards;

import java.util.List;

public class StudyCardsBean {

    /**
     * total : 2
     * rows : [{"id":1,"userId":1,"learnId":1,"createtime":"2019-07-16 10:43:21","ykLearn":{"id":1,"learnNo":"111111","money":1111,"password":"123456","status":"0","createtime":"2019-07-16 10:43:43","endtime":"2019-07-15 10:43:46","createuser":"dongjiao "},"learnNo":null,"password":null},{"id":2,"userId":1,"learnId":2,"createtime":"2019-07-23 12:00:09","ykLearn":{"id":2,"learnNo":"111112","money":1111,"password":"123456","status":"0","createtime":"2019-07-23 11:59:05","endtime":"2019-08-30 11:59:08","createuser":"dongao"},"learnNo":null,"password":null}]
     * code : 0
     */

    private int total;
    private int code;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 1
         * userId : 1
         * learnId : 1
         * createtime : 2019-07-16 10:43:21
         * ykLearn : {"id":1,"learnNo":"111111","money":1111,"password":"123456","status":"0","createtime":"2019-07-16 10:43:43","endtime":"2019-07-15 10:43:46","createuser":"dongjiao "}
         * learnNo : null
         * password : null
         */

        private int id;
        private int userId;
        private int learnId;
        private String createtime;
        private YkLearnBean ykLearn;
        private String learnNo;
        private String password;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getLearnId() {
            return learnId;
        }

        public void setLearnId(int learnId) {
            this.learnId = learnId;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public YkLearnBean getYkLearn() {
            return ykLearn;
        }

        public void setYkLearn(YkLearnBean ykLearn) {
            this.ykLearn = ykLearn;
        }

        public String getLearnNo() {
            return learnNo;
        }

        public void setLearnNo(String learnNo) {
            this.learnNo = learnNo;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public static class YkLearnBean {
            /**
             * id : 1
             * learnNo : 111111
             * money : 1111
             * password : 123456
             * status : 0
             * createtime : 2019-07-16 10:43:43
             * endtime : 2019-07-15 10:43:46
             * createuser : dongjiao
             */

            private int id;
            private String learnNo;
            private int money;
            private String password;
            private String status;
            private String createtime;
            private String endtime;
            private String createuser;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getLearnNo() {
                return learnNo;
            }

            public void setLearnNo(String learnNo) {
                this.learnNo = learnNo;
            }

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public String getCreateuser() {
                return createuser;
            }

            public void setCreateuser(String createuser) {
                this.createuser = createuser;
            }
        }
    }
}
